package com.example.demo.mapper;

import com.example.demo.model.Company;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CompanyMapper {
    @Select("SELECT * FROM company WHERE company_email = #{email} AND company_password = #{password}")
    Company getCompanyByEmailAndPassword(String email, String password);
}